package bma.common.langutil.bean.common;

import bma.common.langutil.core.ToStringUtil;

public class PropertyMethodInfo {

	private boolean setMethod;
	private String name;

	public PropertyMethodInfo(boolean setMethod, String name) {
		super();
		this.setMethod = setMethod;
		this.name = name;
	}

	public boolean isSetMethod() {
		return setMethod;
	}

	public void setSetMethod(boolean setMethod) {
		this.setMethod = setMethod;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return ToStringUtil.fieldReflect(this);
	}
}
